<?php

namespace App\Http\Livewire;

use Livewire\Component;

class DomainRoleListItem extends Component
{
    public $role;

    public function mount($role)
    {
        $this->role = $role;
        $this->role->load('users');
    }

    public function render()
    {
        return view('livewire.domain.domain-role-list-item');
    }
}
